home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / fips11.zip / FIPS.DOC < prev    next >
Text File  |  1994-05-25  |  23KB  |  510 lines

  1.                   Welcome to FIPS
  2.     The First nondestructive Interactive Partition Splitting program
  3.  
  4.                 Version 1.1
  5.                 may 25, 1994
  6.  
  7.              Copyright 1993/94 by Arno Schaefer
  8.  
  9.  
  10. 0. What you need to use FIPS
  11. 1. Introduction
  12. 2. Safety
  13. 3. Restrictions
  14. 4. Before you start
  15. 5. Use with Stacker/SuperStor/Doublespace
  16. 6. Use with OS/2
  17. 7. Use with a multitasking OS
  18. 8. Using FIPS
  19. 9. After splitting the partition
  20. 10. Commandline Switches
  21. 11. Troubleshooting
  22. 12. Credits
  23.  
  24.  
  25. FIPS is a program designed to split an existing DOS partition without deleting
  26. the data on it.
  27.  
  28. FIPS is free software; you can redistribute it and/or modify
  29. it under the terms of the GNU General Public License as published by
  30. the Free Software Foundation; either version 2, or (at your option)
  31. any later version.
  32.  
  33. FIPS is distributed in the hope that it will be useful,
  34. but WITHOUT ANY WARRANTY; without even the implied warranty of
  35. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  36. GNU General Public License for more details.
  37.  
  38. You should have received a copy of the GNU General Public License
  39. along with FIPS; see the file COPYING.  If not, write to
  40. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  41.  
  42. Report problems and direct all questions to:
  43.  
  44.     schaefer@rbg.informatik.th-darmstadt.de
  45.  
  46.  
  47. 0. What you need to use FIPS
  48.  
  49. You need a defragmentation program in order to move all data to the beginning
  50. of the hard disk. FIPS will only split your partition if you have enough free
  51. space at the end. DOS 6.0 and later contains DEFRAG, which is suitable for
  52. this purpose. Other suitable programs are Norton Speedisk (actually DEFRAG
  53. is speedisk with less functions, licensed from Norton), PCTools' Compress,
  54. DISKOPT in Novell DOS 7, or the shareware programs ORG, DOG or SAFPAK
  55. (available by anonymous FTP from any SIMTEL mirror in the diskutil directory).
  56. I did not test these however, so don't blame me if they don't work for you.
  57.  
  58. You may also want to use a program like Norton Disk Doctor (or 'scandisk'
  59. in DOS 6.2) to check your harddisk before and after using FIPS.
  60.  
  61. FIPS was developed under DOS 5.0. It should work fine with anything above
  62. 3.0, perhaps even with 2.0. However it will not be of much use with older
  63. DOS versions, since the large partition sizes are only available since DOS 4.
  64. It has been reported to work with DOS 6.0 and 6.2 and it seems to work
  65. with Novell DOS 7.
  66.  
  67.  
  68. 1. Introduction
  69.  
  70. The program was inspired by the Linux Project. When installing Linux on a
  71. PC that was used for DOS / Windows, many people want to retain a smaller
  72. partition for their DOS software. However, since most Harddisks contain
  73. only one large partition, you would normally be required to do a complete
  74. backup, erase the partition and build two (or more) new partitions. Then you
  75. would restore the backup to one of the new partitions.
  76. This is a very time consuming activity and requires lots of diskettes (why
  77. buy 50+ disks only to once backup and restore your HD?).
  78. FIPS was written to remedy this problem. You can now split a partition
  79. without losing any data, provided there is enough free space for the new
  80. partition at the end of the old one.
  81.  
  82.  
  83. 2. Safety
  84.  
  85. FIPS was specifically designed to provide a maximum of safety. On startup
  86. it checks the Partition Table, Boot Sector and FAT for any inconsistencies.
  87. If it finds anything suspicious, it will tell you so. If there are errors,
  88. FIPS will not proceed.
  89. You have the possibility to write backup copies of your root and bootsector
  90. to a floppy disk before proceeding. If something goes wrong, you may restore
  91. these with the program 'restorrb.exe' (see section 4).
  92. After you have entered the start cylinder for the new partition, FIPS will
  93. check if the new partition is completely empty by examining the FAT of the
  94. old one. If it is not, FIPS will stop.
  95. After having calculated the new Partition Table and Bootsector, FIPS will
  96. check them again, so that eventual bugs in the calculation may be detected.
  97. Only if everything is ok, FIPS will ask for permission to write the new
  98. Root and Bootsector.
  99.  
  100.  
  101. 3. Restrictions
  102.  
  103. FIPS will only work with Hard Disk BIOSes that use interrupt 13h for low
  104. level harddisk access. I think this is true for practically all PCs.
  105.  
  106. FIPS will only work on disks with a sector size of 512 bytes.
  107. It seems that DOS is prepared to deal with different sector sizes, but
  108. since they are not widely used, I decided not to support them.
  109.  
  110. FIPS will not split partitions with 12 bit FATs (you would not want to split
  111. partitions with less than 10 MB, would you?).
  112.  
  113. FIPS will only split DOS partitions. Partition Table and Bootsector must
  114. conform to the MSDOS 3.0+ conventions. This is marked by the system
  115. indicator byte in the partition table, it must have the value 4 (16 bit
  116. sector number) or 6 (32 bit sector number).
  117. It will especially *not* split Linux partitions.
  118.  
  119. FIPS does not yet work on extended DOS partitions.
  120.  
  121. FIPS will not work if you already have four partitions, since it needs one
  122. free partition entry.
  123.  
  124. FIPS will not reduce the original partition to a size with less than 4085
  125. clusters, because this would imply rewriting the 16 bit FAT to a 12 bit FAT.
  126.  
  127.  
  128. 4. Before you start
  129.  
  130. Run CHKDSK or (under DOS 6.2) SCANDISK on the partition you want to split.
  131. If you have Norton Disk Doctor or something similar, you may use it alter-
  132. natively. Make sure there remain no 'dead' clusters on the disk.
  133.  
  134. Prepare a bootable floppy disk in drive A:. Under DOS this is usually done
  135. by giving the command 'sys a:' or 'format a:/s'. Under Windows NT or OS/2
  136. this may be different, if in doubt you should check your manual.
  137.  
  138. Copy the FIPS files RESTORRB.EXE, FIPS.EXE and ERRORS.TXT to this disk.
  139.  
  140. Test booting from the prepared floppy disk. Read you manual or ask a local
  141. guru if you can't boot from floppy disk or if you can not access your hard
  142. disk after booting (test this by giving the command 'dir c:', you should
  143. see your hard disk's root directory).
  144.  
  145. When you start FIPS (later!), you will be given the opportunity to write
  146. backup copies of your root and boot sector to a file on drive A: called
  147. ROOTBOOT.00x (where x stands for a digit from 0 to 9). If anything goes wrong
  148. while using FIPS, you can restore the original configuration by booting from
  149. the floppy and running RESTORRB. Please note: if you use FIPS more than once
  150. (this is normally not necessary, but it may happen), more than one ROOTBOOT
  151. file is written to the floppy disk. RESTORRB lets you choose which configu-
  152. ration file to restore. The file RESTORRB.000 contains your original confi-
  153. guration. Try not to confuse the versions.
  154.  
  155. But before starting FIPS you _must_ now defragment your Harddisk. All of the
  156. space that will be used for the new partition must be free. Be aware that the
  157. Windows Swapfile will not be moved by most defragmentation programs. You must
  158. uninstall it (in the 386enhanced part of the Windows Control Panel) and rein-
  159. stall it after using FIPS. 
  160. If you use IMAGE or MIRROR, the last sector of the hard disk contains a
  161. hidden system file with a pointer to your mirror files. You _must_ delete this
  162. file before using FIPS (it will be recreated the next time you run mirror).
  163. Do 'attrib -r -s -h image.idx' or 'attrib -r -s -h mirorsav.fil' in the root
  164. directory, then delete the file.
  165. If FIPS does not offer as much disk space for creation of the new partition
  166. as you would expect it to have, this may mean that
  167.  
  168. a. You still have too much data in the remaining partition. Consider making
  169.    the new partition smaller or deleting some of the data.
  170.  
  171. b. There are hidden files in the space of the new partition that have not
  172.    been moved by the defragmentation program. Make sure to which program
  173.    they belong. If a file is a swap file of some program (for example NDOS)
  174.    it is possible that it can be safely deleted (and will be recreated
  175.    automatically later when the need arises). See your manual for details.
  176.    
  177.    If the file belongs to some sort of copy protection, you must uninstall
  178.    the program to which it belongs and reinstall it after reparti